﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Architecture.Domain
{
    /// <summary>
    /// 图片表
    /// </summary>
    public class Photo
    {
        /// <summary>
        /// 图片Id
        /// </summary>
        [Key]
        public int PhotoId { get; set; }
        /// <summary>
        /// 图片
        /// </summary>
        public string? PhotoImge { get; set; }
        /// <summary>
        /// 溯源信息id
        /// </summary>
        public int? TraceabilityId { get; set; }
        /// <summary>
        /// 养殖表主键
        /// </summary>
        public int? FarmingId { get; set; }
        /// <summary>
        /// 保健Id
        /// </summary>
        public int? HealthId { get; set; }
        /// <summary>
        /// 屠宰Id
        /// </summary>
        public int? SlaughterId { get; set; }
        /// <summary>
        /// 深加工Id
        /// </summary>
        public int? ProcessingId { get; set; }
        /// <summary>
        /// 企业Id
        /// </summary>
        public int? BusinessId { get; set; }
        /// <summary>
        /// 原料Id
        /// </summary>
        public int? RewMaterialsId { get; set; }
        /// <summary>
        /// 辅料Id
        /// </summary>
        public int? AccessoriesId { get; set; }
        /// <summary>
        /// 添加剂Id
        /// </summary>
        public int? AdditiveId { get; set; }
        /// <summary>
        /// 包材Id
        /// </summary>
        public int? PackagingId { get; set; }
        /// <summary>
        /// 生产批号
        /// </summary>
        public string? TraceabilityBatch { get; set; }
    }
}
